package com.highspeed.bdk.gateway.socket.analyze.base;

import java.util.Map;

public interface Resolver {
    int START = 0;
    int BYTE_LENGTH = 1;
    int SHORT_LENGTH = 2;
    int INT_LENGTH = 4;
    int LONG_LENGTH = 8;
    String OFF_SET = "offset";

    //解析文件
    Map resolve(byte[] response);

    void put(String key, Object value);

    Object get(String key);

    void setContainer(Map container);

    Map getContainer();

    int getOffset();

    void offset1();

    void offset2();

    void offset4();

    void offset8();

    void offsetN(int n);

    void clear();

}
